package com.ciyuan.hotdeplot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: ciyuan
 * @Date: 2019/4/24 1:11
 */
@Controller
public class HotDeployController {

    @GetMapping("/say")
    public String say(HttpServletRequest request) {
        request.setAttribute("say", "Hello Spring Boot Hot Deploy,spring boot devtools");
        return "index";
    }
}
